<%@ Title="" %>
  
<com:TContent ID="Main" >
<com:TPanel ID="navigatedUserCnt"  Visible="<%= !$this->User->IsGuest %>">

<ul id="tab_Menu" class="tabBoxes tabFriend">
	<li id="profile_tap" class="" view="Profile">
		<com:THyperLink Text="Profile" CssClass="tab_link"
    	NavigateUrl="<%= $this->Service->constructUrl('users.ProfileUser',array('id' => $this->id)) %>"
    	Visible="<%= !$this->User->IsGuest %>" /></li>
	<li id="friend_tap" class="selected">
		<com:THyperLink Text="Friends" CssClass="tab_link"
    	NavigateUrl="<%=  $this->Service->constructUrl('users.FriendsUser',array('id' => $this->id))  %>"
    	Visible="<%= !$this->User->IsGuest %>" /></li>
     <li id="books_tap" class=""><com:THyperLink Text="My Books" CssClass="tab_link"
    NavigateUrl="<%=  $this->Service->constructUrl('users.BooksUser',array('id' => $this->id))  %>"
    Visible="<%= !$this->User->IsGuest %>" /></li>
	<li id="image_tap" class=""><com:THyperLink Text="Images" CssClass="tab_link"
    NavigateUrl="<%=  $this->Service->constructUrl('users.ImageContainer',array('id' => $this->id))  %>"
    Visible="<%= !$this->User->IsGuest %>" />
	</li>
</ul>

</com:TPanel>

<div class = "friendFliter">
</div>

<div id = "activity">

<h1 class = "content" ><%=$this->getCurrentRecord()->username %>'s Friends <com:TLabel ID="numFriend" Text="" /> </h1>
<div class = "tranBox">
<div class="commentBoxContainer">
<div class="commentBoxInformation">
	<h1 class = "content" >Find People You Email</h1>
</div>	

 <com:TPanel ID="sendRequestCnt">
     <com:TTextBox ID="txtSendFriendReq" Visible="true" CSSclass = "commentBox_TextArea"/>
     <div class="commentBox_Area">
     
     <com:TButton CssClass="common_btn" OnClick="buttonClicked" Text="Find"/><br>
     </div>
   
 </com:TPanel>
 
</div>
</div>

<div class = "friendsBox">
	
 	<com:TRepeater ID="Repeater_friend"
    ItemRenderer="Application.pages.users.FriendRenderer"
    AllowPaging="true"
    AllowCustomPaging="true"
    PageSize="9"    />

</div>
<com:TPager ControlToPaginate="Repeater_friend" OnPageIndexChanged="pageChanged_friend" />

</div>

</com:TContent>
